package com.example.xbrother.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.xbrother.entity.Material;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 物料 Mapper 接口
 * </p>
 *
 * @author hcj
 * @since 2022-12-26
 */
public interface MaterialMapper extends BaseMapper<Material> {

    Material getByCode(@Param("code") String code);
}
